You can check each line in your Basic program for errors using single step execution. Errors are easily traced since you can immediately see the result of each step. A pointer in the breakpoint column of the Editor indicates the current line. You can also set a breakpoint if you want to force the program to be interrupted at a specific position.
Basic プログラム中のエラー行を探す場合、シングルステップを実行することで、コードを 1 行ずつ確認できます。この機能を利用すると、個々のステップの実行結果をその場で確認できるため、エラーの発生状況を簡単に追跡することができます。現在実行中の行については、ブレークポイントの設定列にマークが表示されます。また、特定の行でプログラムの実行を一時中断させたい場合は、該当行にブレークポイントを設定できます。
Double-click in the breakpoint column at the left of the Editor window to toggle a breakpoint at the corresponding line. When the program reaches a breakpoint, the program execution is interrupted.
エディタウィンドウの左側には、ブレークポイント 設定用の列があり、ここをダブルクリックすることで、該当行へのブレークポイントの設定と解除ができます。プログラム実行時にブレークポイントの設定列に到着すると、プログラムの実行が一時中断されます。
The single step execution using the Single Step icon causes the program to branch into procedures and functions.
シングルステップ によりプログラムを実行させるには、アイコン シングルステップ をクリックしますが、この場合は個々のプロシージャーや関数の内部に入り込む形でステップ実行が行われます。
The procedure step execution using the Procedure Step icon causes the program to skip over procedures and functions as a single step.
処理ステップによりプログラムを実行させるには、アイコン 処理ステップ をクリックしますが、この場合は個々のプロシージャーや関数は 1 つのステップとみなされるので、これらの内部に入り込む形でのステップ実行は行われません。
The properties of a breakpoint are available through its context menu by right-clicking the breakpoint in the breakpoint column.
ブレークポイントのプロパティーを設定するには、ブレークポイントの設定列でコンテキストメニューを開きます。
You can activate and deactivate a breakpoint by selecting Active from its context menu. When a breakpoint is deactivated, it does not interrupt the program execution.
ブレークポイントの アクティブ と 非アクティブ は、コンテキストメニューのアクティブを選択して切り替えます。非アクティブにしたブレークポイントは、プログラムの実行を一時中断させません。
Select Properties from the context menu of a breakpoint or select Breakpoints from the context menu of the breakpoint column to call the Breakpoints dialog where you can specify other breakpoint options.
ブレークポイントのコンテキストメニューで プロパティー を選択するか、ブレークポイントの設定列のコンテキストメニューで ブレークポイント... を選択すると、その他のブレークポイント用オプションを設定するためのダイアログ ブレークポイントが表示されます。
The list displays all breakpoints with the corresponding line number in the source code. You can activate or deactivate a selected breakpoint by checking or clearing the Active box.
ここでは、すべての ブレークポイント が、ソースコード中の該当行の行番号として一覧表示されます。 選択したブレークポイントを有効にするかどうかは、 アクティブ チェックボックスの設定により切り替えることができます。
The Pass Count specifies the number of times the breakpoint can be passed over before the program is interrupted. If you enter 0 (default setting) the program is always interrupted as soon as a breakpoint is encountered.
ひととおり実行 には、プログラムの実行を一時中断するまでにブレークポイントを無視させる回数を指定できます。この値を 0 に指定したブレークポイントでは (既定値)、その行で常に一時中断が行われます。
Click Delete to remove the breakpoint from the program.
削除 をクリックすると、プログラムに設定したブレークポイントを削除できます。
You can monitor the values of a variable by adding it to the Watch window. To add a variable to the list of watched variables, type the variable name in the Watch text box and press Enter.
変数の値がどのように変化するかは、オブザーバ ウィンドウに登録することで確認できます。オブザーバのリストに変数を登録するには、変数名をテキストボックス オブザーバ に入力して Enter キーを押します。
The values of variables are only displayed if they are in scope. Variables that are not defined at the current source code location display ("Out of Scope") instead of a value.
値が表示されるのは、スコープ内にある変数だけです。現在のスコープのソースコード内で宣言されていない変数については、その代入値ではなく「Out of Scope」と表示されます。
You can also include arrays in the Watch window. If you enter the name of an array variable without an index value in the Watch text box, the content of the entire array is displayed.
オブザーバウィンドウには、配列の内容を表示させることもできます。オブザーバテキストボックスを使って配列名を指定する場合、インデックスを指定しなければ、配列全体の値が表示されます。
![]() | If you rest the mouse over a predefined variable in the Editor at run-time, the content of the variable is displayed in a pop-up box.
実行時にエディタ上で事前定義された変数にマウスポインタを重ねると、ポップアップボックスにその変数の値が表示されます。 |
Provides an overview of the call hierarchy of procedures and functions. You can determine which procedures and functions called which other procedures and functions at the current point in the source code.
プロシージャーや関数の呼び出し状況を表示します。 現在の実行中のソースコードにおける、関数やプロシージャー相互の呼び出し関係を把握したい場合、この機能が有用です。